package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MallUserAddr;

import java.util.*;
public class MallUserAddrExample extends SgExample<MallUserAddrExample.Criteria> {
    public static final Class<MallUserAddr> beanClass = MallUserAddr.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn addressDetail;
    public static EntityColumn imDefault;
    public static EntityColumn provName;
    public static EntityColumn receiveName;
    public static EntityColumn areaId;
    public static EntityColumn cityName;
    public static EntityColumn areaName;
    public static EntityColumn addrId;
    public static EntityColumn cityId;
    public static EntityColumn receiveTelephone;
    public static EntityColumn provId;
    public static EntityColumn userId;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        addressDetail = listMap.get("addressDetail");
        imDefault = listMap.get("imDefault");
        provName = listMap.get("provName");
        receiveName = listMap.get("receiveName");
        areaId = listMap.get("areaId");
        cityName = listMap.get("cityName");
        areaName = listMap.get("areaName");
        addrId = listMap.get("addrId");
        cityId = listMap.get("cityId");
        receiveTelephone = listMap.get("receiveTelephone");
        provId = listMap.get("provId");
        userId = listMap.get("userId");
        }

    public MallUserAddrExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MallUserAddrExample.Criteria createCriteriaInternal() {
        return new MallUserAddrExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MallUserAddrExample.Criteria andAddressDetailIsNull() {
            return isNull(addressDetail);
        }

        public MallUserAddrExample.Criteria andAddressDetailIsNotNull() {
            return isNotNull(addressDetail);
        }

        public MallUserAddrExample.Criteria andAddressDetailEqualTo(String value) {
            return equalTo(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailNotEqualTo(String value) {
            return notEqualTo(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailGreaterThan(String value) {
            return greaterThan(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailLessThan(String value) {
            return lessThan(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailLike(String value) {
            return like(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailNotLike(String value) {
            return notLike(addressDetail, value);
        }

        public MallUserAddrExample.Criteria andAddressDetailIn(List<String> values) {
            return in(addressDetail, values);
        }

        public MallUserAddrExample.Criteria andAddressDetailNotIn(List<String> values) {
            return notIn(addressDetail, values);
        }

        public MallUserAddrExample.Criteria andAddressDetailBetween(String value1, String value2) {
            return between(addressDetail, value1, value2);
        }

        public MallUserAddrExample.Criteria andAddressDetailNotBetween(String value1, String value2) {
            return notBetween(addressDetail, value1, value2);
        }
        public MallUserAddrExample.Criteria andImDefaultIsNull() {
            return isNull(imDefault);
        }

        public MallUserAddrExample.Criteria andImDefaultIsNotNull() {
            return isNotNull(imDefault);
        }

        public MallUserAddrExample.Criteria andImDefaultEqualTo(Boolean value) {
            return equalTo(imDefault, value);
        }

        public MallUserAddrExample.Criteria andImDefaultNotEqualTo(Boolean value) {
            return notEqualTo(imDefault, value);
        }

        public MallUserAddrExample.Criteria andImDefaultGreaterThan(Boolean value) {
            return greaterThan(imDefault, value);
        }

        public MallUserAddrExample.Criteria andImDefaultGreaterThanOrEqualTo(Boolean value) {
            return greaterThanOrEqualTo(imDefault, value);
        }

        public MallUserAddrExample.Criteria andImDefaultLessThan(Boolean value) {
            return lessThan(imDefault, value);
        }

        public MallUserAddrExample.Criteria andImDefaultLessThanOrEqualTo(Boolean value) {
            return lessThanOrEqualTo(imDefault, value);
        }

        public MallUserAddrExample.Criteria andImDefaultIn(List<Boolean> values) {
            return in(imDefault, values);
        }

        public MallUserAddrExample.Criteria andImDefaultNotIn(List<Boolean> values) {
            return notIn(imDefault, values);
        }

        public MallUserAddrExample.Criteria andImDefaultBetween(Boolean value1, Boolean value2) {
            return between(imDefault, value1, value2);
        }

        public MallUserAddrExample.Criteria andImDefaultNotBetween(Boolean value1, Boolean value2) {
            return notBetween(imDefault, value1, value2);
        }
        public MallUserAddrExample.Criteria andProvNameIsNull() {
            return isNull(provName);
        }

        public MallUserAddrExample.Criteria andProvNameIsNotNull() {
            return isNotNull(provName);
        }

        public MallUserAddrExample.Criteria andProvNameEqualTo(String value) {
            return equalTo(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameNotEqualTo(String value) {
            return notEqualTo(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameGreaterThan(String value) {
            return greaterThan(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameLessThan(String value) {
            return lessThan(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameLike(String value) {
            return like(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameNotLike(String value) {
            return notLike(provName, value);
        }

        public MallUserAddrExample.Criteria andProvNameIn(List<String> values) {
            return in(provName, values);
        }

        public MallUserAddrExample.Criteria andProvNameNotIn(List<String> values) {
            return notIn(provName, values);
        }

        public MallUserAddrExample.Criteria andProvNameBetween(String value1, String value2) {
            return between(provName, value1, value2);
        }

        public MallUserAddrExample.Criteria andProvNameNotBetween(String value1, String value2) {
            return notBetween(provName, value1, value2);
        }
        public MallUserAddrExample.Criteria andReceiveNameIsNull() {
            return isNull(receiveName);
        }

        public MallUserAddrExample.Criteria andReceiveNameIsNotNull() {
            return isNotNull(receiveName);
        }

        public MallUserAddrExample.Criteria andReceiveNameEqualTo(String value) {
            return equalTo(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameNotEqualTo(String value) {
            return notEqualTo(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameGreaterThan(String value) {
            return greaterThan(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameLessThan(String value) {
            return lessThan(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameLike(String value) {
            return like(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameNotLike(String value) {
            return notLike(receiveName, value);
        }

        public MallUserAddrExample.Criteria andReceiveNameIn(List<String> values) {
            return in(receiveName, values);
        }

        public MallUserAddrExample.Criteria andReceiveNameNotIn(List<String> values) {
            return notIn(receiveName, values);
        }

        public MallUserAddrExample.Criteria andReceiveNameBetween(String value1, String value2) {
            return between(receiveName, value1, value2);
        }

        public MallUserAddrExample.Criteria andReceiveNameNotBetween(String value1, String value2) {
            return notBetween(receiveName, value1, value2);
        }
        public MallUserAddrExample.Criteria andAreaIdIsNull() {
            return isNull(areaId);
        }

        public MallUserAddrExample.Criteria andAreaIdIsNotNull() {
            return isNotNull(areaId);
        }

        public MallUserAddrExample.Criteria andAreaIdEqualTo(Long value) {
            return equalTo(areaId, value);
        }

        public MallUserAddrExample.Criteria andAreaIdNotEqualTo(Long value) {
            return notEqualTo(areaId, value);
        }

        public MallUserAddrExample.Criteria andAreaIdGreaterThan(Long value) {
            return greaterThan(areaId, value);
        }

        public MallUserAddrExample.Criteria andAreaIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(areaId, value);
        }

        public MallUserAddrExample.Criteria andAreaIdLessThan(Long value) {
            return lessThan(areaId, value);
        }

        public MallUserAddrExample.Criteria andAreaIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(areaId, value);
        }

        public MallUserAddrExample.Criteria andAreaIdIn(List<Long> values) {
            return in(areaId, values);
        }

        public MallUserAddrExample.Criteria andAreaIdNotIn(List<Long> values) {
            return notIn(areaId, values);
        }

        public MallUserAddrExample.Criteria andAreaIdBetween(Long value1, Long value2) {
            return between(areaId, value1, value2);
        }

        public MallUserAddrExample.Criteria andAreaIdNotBetween(Long value1, Long value2) {
            return notBetween(areaId, value1, value2);
        }
        public MallUserAddrExample.Criteria andCityNameIsNull() {
            return isNull(cityName);
        }

        public MallUserAddrExample.Criteria andCityNameIsNotNull() {
            return isNotNull(cityName);
        }

        public MallUserAddrExample.Criteria andCityNameEqualTo(String value) {
            return equalTo(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameNotEqualTo(String value) {
            return notEqualTo(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameGreaterThan(String value) {
            return greaterThan(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameLessThan(String value) {
            return lessThan(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameLike(String value) {
            return like(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameNotLike(String value) {
            return notLike(cityName, value);
        }

        public MallUserAddrExample.Criteria andCityNameIn(List<String> values) {
            return in(cityName, values);
        }

        public MallUserAddrExample.Criteria andCityNameNotIn(List<String> values) {
            return notIn(cityName, values);
        }

        public MallUserAddrExample.Criteria andCityNameBetween(String value1, String value2) {
            return between(cityName, value1, value2);
        }

        public MallUserAddrExample.Criteria andCityNameNotBetween(String value1, String value2) {
            return notBetween(cityName, value1, value2);
        }
        public MallUserAddrExample.Criteria andAreaNameIsNull() {
            return isNull(areaName);
        }

        public MallUserAddrExample.Criteria andAreaNameIsNotNull() {
            return isNotNull(areaName);
        }

        public MallUserAddrExample.Criteria andAreaNameEqualTo(String value) {
            return equalTo(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameNotEqualTo(String value) {
            return notEqualTo(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameGreaterThan(String value) {
            return greaterThan(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameLessThan(String value) {
            return lessThan(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameLike(String value) {
            return like(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameNotLike(String value) {
            return notLike(areaName, value);
        }

        public MallUserAddrExample.Criteria andAreaNameIn(List<String> values) {
            return in(areaName, values);
        }

        public MallUserAddrExample.Criteria andAreaNameNotIn(List<String> values) {
            return notIn(areaName, values);
        }

        public MallUserAddrExample.Criteria andAreaNameBetween(String value1, String value2) {
            return between(areaName, value1, value2);
        }

        public MallUserAddrExample.Criteria andAreaNameNotBetween(String value1, String value2) {
            return notBetween(areaName, value1, value2);
        }
        public MallUserAddrExample.Criteria andAddrIdIsNull() {
            return isNull(addrId);
        }

        public MallUserAddrExample.Criteria andAddrIdIsNotNull() {
            return isNotNull(addrId);
        }

        public MallUserAddrExample.Criteria andAddrIdEqualTo(Long value) {
            return equalTo(addrId, value);
        }

        public MallUserAddrExample.Criteria andAddrIdNotEqualTo(Long value) {
            return notEqualTo(addrId, value);
        }

        public MallUserAddrExample.Criteria andAddrIdGreaterThan(Long value) {
            return greaterThan(addrId, value);
        }

        public MallUserAddrExample.Criteria andAddrIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(addrId, value);
        }

        public MallUserAddrExample.Criteria andAddrIdLessThan(Long value) {
            return lessThan(addrId, value);
        }

        public MallUserAddrExample.Criteria andAddrIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(addrId, value);
        }

        public MallUserAddrExample.Criteria andAddrIdIn(List<Long> values) {
            return in(addrId, values);
        }

        public MallUserAddrExample.Criteria andAddrIdNotIn(List<Long> values) {
            return notIn(addrId, values);
        }

        public MallUserAddrExample.Criteria andAddrIdBetween(Long value1, Long value2) {
            return between(addrId, value1, value2);
        }

        public MallUserAddrExample.Criteria andAddrIdNotBetween(Long value1, Long value2) {
            return notBetween(addrId, value1, value2);
        }
        public MallUserAddrExample.Criteria andCityIdIsNull() {
            return isNull(cityId);
        }

        public MallUserAddrExample.Criteria andCityIdIsNotNull() {
            return isNotNull(cityId);
        }

        public MallUserAddrExample.Criteria andCityIdEqualTo(Long value) {
            return equalTo(cityId, value);
        }

        public MallUserAddrExample.Criteria andCityIdNotEqualTo(Long value) {
            return notEqualTo(cityId, value);
        }

        public MallUserAddrExample.Criteria andCityIdGreaterThan(Long value) {
            return greaterThan(cityId, value);
        }

        public MallUserAddrExample.Criteria andCityIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(cityId, value);
        }

        public MallUserAddrExample.Criteria andCityIdLessThan(Long value) {
            return lessThan(cityId, value);
        }

        public MallUserAddrExample.Criteria andCityIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(cityId, value);
        }

        public MallUserAddrExample.Criteria andCityIdIn(List<Long> values) {
            return in(cityId, values);
        }

        public MallUserAddrExample.Criteria andCityIdNotIn(List<Long> values) {
            return notIn(cityId, values);
        }

        public MallUserAddrExample.Criteria andCityIdBetween(Long value1, Long value2) {
            return between(cityId, value1, value2);
        }

        public MallUserAddrExample.Criteria andCityIdNotBetween(Long value1, Long value2) {
            return notBetween(cityId, value1, value2);
        }
        public MallUserAddrExample.Criteria andReceiveTelephoneIsNull() {
            return isNull(receiveTelephone);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneIsNotNull() {
            return isNotNull(receiveTelephone);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneEqualTo(String value) {
            return equalTo(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneNotEqualTo(String value) {
            return notEqualTo(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneGreaterThan(String value) {
            return greaterThan(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneLessThan(String value) {
            return lessThan(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneLike(String value) {
            return like(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneNotLike(String value) {
            return notLike(receiveTelephone, value);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneIn(List<String> values) {
            return in(receiveTelephone, values);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneNotIn(List<String> values) {
            return notIn(receiveTelephone, values);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneBetween(String value1, String value2) {
            return between(receiveTelephone, value1, value2);
        }

        public MallUserAddrExample.Criteria andReceiveTelephoneNotBetween(String value1, String value2) {
            return notBetween(receiveTelephone, value1, value2);
        }
        public MallUserAddrExample.Criteria andProvIdIsNull() {
            return isNull(provId);
        }

        public MallUserAddrExample.Criteria andProvIdIsNotNull() {
            return isNotNull(provId);
        }

        public MallUserAddrExample.Criteria andProvIdEqualTo(Long value) {
            return equalTo(provId, value);
        }

        public MallUserAddrExample.Criteria andProvIdNotEqualTo(Long value) {
            return notEqualTo(provId, value);
        }

        public MallUserAddrExample.Criteria andProvIdGreaterThan(Long value) {
            return greaterThan(provId, value);
        }

        public MallUserAddrExample.Criteria andProvIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(provId, value);
        }

        public MallUserAddrExample.Criteria andProvIdLessThan(Long value) {
            return lessThan(provId, value);
        }

        public MallUserAddrExample.Criteria andProvIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(provId, value);
        }

        public MallUserAddrExample.Criteria andProvIdIn(List<Long> values) {
            return in(provId, values);
        }

        public MallUserAddrExample.Criteria andProvIdNotIn(List<Long> values) {
            return notIn(provId, values);
        }

        public MallUserAddrExample.Criteria andProvIdBetween(Long value1, Long value2) {
            return between(provId, value1, value2);
        }

        public MallUserAddrExample.Criteria andProvIdNotBetween(Long value1, Long value2) {
            return notBetween(provId, value1, value2);
        }
        public MallUserAddrExample.Criteria andUserIdIsNull() {
            return isNull(userId);
        }

        public MallUserAddrExample.Criteria andUserIdIsNotNull() {
            return isNotNull(userId);
        }

        public MallUserAddrExample.Criteria andUserIdEqualTo(Long value) {
            return equalTo(userId, value);
        }

        public MallUserAddrExample.Criteria andUserIdNotEqualTo(Long value) {
            return notEqualTo(userId, value);
        }

        public MallUserAddrExample.Criteria andUserIdGreaterThan(Long value) {
            return greaterThan(userId, value);
        }

        public MallUserAddrExample.Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(userId, value);
        }

        public MallUserAddrExample.Criteria andUserIdLessThan(Long value) {
            return lessThan(userId, value);
        }

        public MallUserAddrExample.Criteria andUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(userId, value);
        }

        public MallUserAddrExample.Criteria andUserIdIn(List<Long> values) {
            return in(userId, values);
        }

        public MallUserAddrExample.Criteria andUserIdNotIn(List<Long> values) {
            return notIn(userId, values);
        }

        public MallUserAddrExample.Criteria andUserIdBetween(Long value1, Long value2) {
            return between(userId, value1, value2);
        }

        public MallUserAddrExample.Criteria andUserIdNotBetween(Long value1, Long value2) {
            return notBetween(userId, value1, value2);
        }
    }
}